<?php
class Connection {
	private static $DBURL = "localhost";
	private static $DBUSER = "root";
	private static $DBPASSWORD = "";
	private static $db=null;
	
	public function ConnectionDB() {		
		$this->db = Zend_Db::factory ( 'Mysqli',
		 array (
		 host => 'localhost', 
		 dbname => 'test', 
		 username => 'root', 
		 password => '' 
		 )
		);
		echo "dsf";
		var_dump($this->db);	
	}
	public function getConnectionDB() {
		return $this->db;
	}
	public function destoryDB() {
		$this->db=null;	
	}
}